<html>
    <head>
        <title>Welcome to MinosJudge</title>
        <meta name="layout" content="main" />
        <style type="text/css" media="screen">

        #nav {
            margin-top:20px;
            margin-left:30px;
            width:228px;
            float:left;

        }
        .homePagePanel * {
            margin:0px;
        }
        .homePagePanel .panelBody ul {
            list-style-type:none;
            margin-bottom:10px;
        }
        .homePagePanel .panelBody h1 {
            text-transform:uppercase;
            font-size:20px;
            margin-bottom:10px;
        }
        .homePagePanel .panelBody {
            background: url(images/leftnav_midstretch.png) repeat-y top;
            margin:0px;
            padding:15px;
        }
        .homePagePanel .panelBtm {
            background: url(images/leftnav_btm.png) no-repeat top;
            height:20px;
            margin:0px;
        }

        .homePagePanel .panelTop {
            background: url(images/leftnav_top.png) no-repeat top;
            height:11px;
            margin:0px;
        }
        h2 {
            margin-top:15px;
            margin-bottom:15px;
            font-size:15px;
        }
        #pageBody {
            margin-left:280px;
            margin-right:20px;
        }
        </style>
    </head>
    <body>
        <div id="nav">
            <div class="homePagePanel">
                <div class="panelTop"></div>
                <div class="panelBody">
                    <h1>Common activities</h1>
                    <ul>
                      <li><g:link controller="user" action="create">create account</g:link></li>
                      <li><g:link controller="user" action="login">Login</g:link></li>
                      <li><g:link controller="user" action="logout">Logout</g:link></li>
                    </ul>
                    <h1>Related pages</h1>
                    <ul>
                      <li><a href="https://code.google.com/p/minosjudge/">Repositorio oficial</a></li>

                    </ul>
                </div>
                <div class="panelBtm"></div>
            </div>
        </div>
        <div id="pageBody">
            <h1>Welcome to Minos Online Judge</h1>
            <p>Bienvenido a Minos juez online para competencias de programación. Crea una cuenta 
            o ingresa con la tuya si deseas participar y ver las distintas competencias, problemas y
            clarificaciones. Bienvenido participa y compite: </p>

            <div id="controllerList" class="dialog">
                <h2>Available Activities:</h2>
                <ul>
                  <li><g:link controller="user" action="list">Users</g:link></li>
                  <li><g:link controller="competition" action="list">Competition</g:link></li>
                  <li><g:link controller="problem" action="list">Problems</g:link></li>
                  <li><g:link controller="clarification" action="list">Clarification</g:link></li>
                  <li><g:link controller="submition" action="list">Submition</g:link></li>
                  <!--
                    <g:each var="c" in="${grailsApplication.controllerClasses.sort { it.fullName } }">
                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
                    </g:each>
                  -->
                </ul>
            </div>
        </div>
    </body>
</html>
